<template>
  <div>
    <div>子{{arrData2}}</div>
    <button @click="addArray">+</button>
  </div>
</template>

<script>
export default {
  name: "QaTest",
  data() {
    return {
      arrData2: this.arr2
    }
  },
  props: {
    arr2: {
      type: Array,
    },
  },
  methods: {
    addArray() {
      this.$emit('update_count', 1, 2)
    },
  },
};
</script>

<style>
</style>